// ToolBar.h : header file
//

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CMyToolBar window

class CMyToolBar : public CToolBar
{
// Construction
public:
	CMyToolBar();

	BOOL Init(CWnd* pParentWnd, CRecentFileList* pRecentFileList, LPCTSTR lpszCmdLine);
	BOOL SetHorizontal();
	BOOL SetVertical();
	void SetColumns(UINT nColumns);
	UINT GetColumns() { return m_nColumns; };
	int  GetButtonCount();

	void UpdateFileList(CRecentFileList *pRecentFileList, LPCTSTR lpszCmdLine);

// Attributes
protected:
	CComboBox m_ProcessList;
	int m_nColumns;
	BOOL m_bVertical;
	CFont m_Font;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyToolBar)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMyToolBar();
	virtual CSize CalcDynamicLayout(int nLength, DWORD dwMode);

	// Generated message map functions
protected:
	//{{AFX_MSG(CMyToolBar)
	afx_msg void OnProcessList();
	afx_msg void OnUpdateProcessList(CCmdUI* pCmdUI);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

